<template>
    <div class="placeanorder">
        <div class="topBox">
            <img class="leftImg" src="../../static/imgs/left_b.png" @click="handleBack" alt="">
            <div class="title">
                {{ $t('assemble.立即下单') }}
            </div>
        </div>

        <div>
            <img class="bannerImg" src="https://demo163.1p5.net/uploads/20231130/e4e7def4c8e2ba5a6ac86aa953962d25.png"
                alt="" srcset="">
            <div class="name">
                网易授权系统码-常
            </div>
        </div>


        <div class="orderNum">
            <div class="numIten">
                <div class="lable">
                    {{ $t('assemble.单价') }}
                </div>
                <div>
                    ￥{{ price }}
                </div>
            </div>
            <div class="numIten">
                <div class="lable">
                    {{ $t('assemble.数量') }}
                </div>
                <div>
                    {{ miniNum }}
                </div>
            </div>
            <div class="numIten">
                <div class="lable">
                    {{ $t('assemble.商品小计') }}
                </div>
                <div>
                    ￥ {{ miniNum * price }}
                </div>
            </div>

        </div>


        <div class="heng"></div>


        <div class="contentBox">

            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.授权区域') }}

                </div>
                <div class="value">
                    <div style="color: #000000;">
                        {{ userarea }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.授权渠道') }}

                </div>
                <div class="value">
                    <div style="color: #000000;">
                        {{ bazaar }}

                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.授权品牌') }}
                </div>
                <div class="value">
                    <div style="color: #000000;">
                        {{ brand }}

                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.授权产品类别') }}
                </div>
                <div class="value">
                    <div style="color: #000000;">
                        {{ category }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.授权产品子类别') }}
                </div>
                <div class="value">
                    <div style="color: #000000;">
                        {{ sonauthorizedbrand }}

                    </div>
                </div>
            </div>
        </div>


        <div class="heng"></div>

        <div class="contentBox">

            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.制造商名称') }}

                </div>
                <div class="value" @click="manufacturerShow = true">
                    <div :class="manufacturer_name != '' ? 'colorcss' : ''">
                        {{ manufacturer_name == "" ? $t('assemble.请选择') : manufacturer_name }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.制造商地址') }}

                </div>
                <div class="value">
                    <div :class="manufacturer_site != '' ? 'colorcss' : ''">
                        {{ manufacturer_site == "" ? $t('assemble.请输入制造商地址') : manufacturer_site }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.联系人') }}
                </div>
                <div class="value">
                    <div :class="liaisons != '' ? 'colorcss' : ''">
                        {{ liaisons == "" ? $t('assemble.请输入联系人') : liaisons }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.联系电话') }}
                </div>
                <div class="value">
                    <div :class="manufacturer_mobile != '' ? 'colorcss' : ''">
                        {{ manufacturer_mobile == "" ? $t('assemble.请输入联系人电话') : manufacturer_mobile }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.邮编') }}
                </div>
                <div class="value">
                    <div :class="manufacturer_postcode != '' ? 'colorcss' : ''">
                        {{ manufacturer_postcode == "" ? $t('assemble.请输入') : manufacturer_postcode }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.备注') }}
                </div>
                <div class="value">
                    <input class="inputitem" :class="remark != '' ? 'colorcss' : ''" type="text" v-model="remark"
                        :placeholder="$t('assemble.请输入')">
                </div>
            </div>
        </div>

        <div class="heng"></div>

        <div class="titleBox">
            <div class="title">
                {{ $t('assemble.标签送货地址') }}

            </div>
            <div class="add" style="color: red;" @click="handleGotoaddress">
                {{ $t('assemble.点击添加地址') }}
            </div>
        </div>

        <div class="addressList">
            <div class="listItem" v-for="(item, index) in addressList"
                :class="currIndexaddress == index ? 'listItemed' : ''" @click="handleCurrIndex(index, item.id)">
                <div class="company">
                    {{ item.company }}
                </div>
                <div class="nameAndphone">
                    <div> {{ item.name }}</div>
                    <div class="phone">{{ item.mobile }}</div>
                </div>
                <div class="address nameAndphone">
                    {{ item.site }}
                </div>
            </div>
        </div>


        <div class="heng"></div>

        <div class="titleBox">
            <div class="title">
                {{ $t('assemble.开票信息') }}
            </div>
        </div>

        <div class="contentBox" style="margin-top: 20px;">

            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.开票类型') }}

                </div>
                <div class="value" @click="invoice_typeShow = true">
                    <div :class="invoice_type != '' ? 'colorcss' : ''">
                        {{ invoice_type == '' ? $t('assemble.请选择') : invoice_type }}
                    </div>
                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.购方名称') }}

                </div>
                <div class="value">
                    <input class="inputitem" :class="remark != '' ? 'colorcss' : ''" type="text" v-model="invoice_name"
                        :placeholder="$t('assemble.请输入购方姓名')">

                </div>
            </div>
            <div class="contentitem">
                <div class="lable">
                    {{ $t('assemble.购方税号') }}
                </div>
                <div class="value">
                    <input class="inputitem" :class="remark != '' ? 'colorcss' : ''" type="text" v-model="invoice_number"
                        :placeholder="$t('assemble.请输入购方税号')">
                </div>
            </div>

        </div>

        <div class="heng" style="margin-top: 50px;"></div>

        <div class="titleBox">
            <div class="title">
                {{ $t('assemble.电子发票接收人资料') }}
            </div>
        </div>


        <div class="contentBox" style="margin-top: 20px;">

            <div class="contentitem">
                <div class="lable" style="width: 40%;">
                    {{ $t('assemble.电子发票接收人邮箱') }}

                </div>
                <div class="value">
                    <input class="inputitem" :class="remark != '' ? 'colorcss' : ''" type="text" v-model="electronic_email"
                        :placeholder="$t('assemble.电子发票接收人邮箱')">
                </div>
            </div>
            <div class="contentitem">
                <div class="lable" style="width: 40%;">
                    {{ $t('assemble.电子发票接收人手机号') }}

                </div>
                <div class="value">
                    <input class="inputitem" :class="remark != '' ? 'colorcss' : ''" type="text" v-model="electronic_mobile"
                        :placeholder="$t('assemble.电子发票接收人手机号')">
                </div>
            </div>
        </div>

        <div class="btns" @click="handleSubmite">
            {{ $t('assemble.立即下单') }}
        </div>

        <!-- 制造商 -->
        <van-popup v-model="manufacturerShow" position="bottom" :style="{ height: '40%' }">
            <van-picker class="custom-picker" :title="$t('assemble.制造商名称')" :cancel-button-text="$t('assemble.取消')"
                :confirm-button-text="$t('assemble.确定')" :item-height="eqFlag ? '88px' : '44px'" show-toolbar
                :columns="manufacturerlist" @confirm="onConfirmmanufacturer" @cancel="manufacturerShow = false" />
        </van-popup>

        <!-- 开票类型 -->
        <van-popup v-model="invoice_typeShow" position="bottom" :style="{ height: '40%' }">
            <van-picker class="custom-picker" :title="$t('assemble.开票类型')" :cancel-button-text="$t('assemble.取消')"
                :confirm-button-text="$t('assemble.确定')" :item-height="eqFlag ? '88px' : '44px'" show-toolbar
                :columns="invoice_typeList" @confirm="onConfirminvoice_type" @cancel="invoice_typeShow = false" />
        </van-popup>

    </div>
</template>
<script>
import { getAdresslist, createorder, getmanufacturerlist } from '../../utils/api'
import { Toast, Notify } from 'vant';

export default {
    components: {
        Toast
    },
    data() {
        return {
            eqFlag: false,
            content: "",
            lang: 'zh',
            userarea: "", //授权区域名字
            user_area_id: "",//授权区域id
            bazaar: "",//授权渠道
            brand: "",//授权品牌
            category: "",//授权产品类别
            sonauthorizedbrand: "",//授权产品子类别
            miniNum: "",
            product_id: "",//商品id
            manufacturerShow: false,
            manufacturerlist: [],//制造商列表
            manufacturerlists: [],//制造商列表所有数据
            manufacturer_name: "",//制造商名称
            manufacturer_site: "",//制造商地址
            liaisons: "",//制造商联系人
            manufacturer_mobile: "",//制造商联系电话
            manufacturer_postcode: "",//制造商邮编 
            remark: "",//备注
            addressList: [],//地址列表
            currIndexaddress: null,
            delivery: "",//地址id
            invoice_typeList: [],//开票类型
            invoice_typeShow: false,
            invoice_type: '',//开票类型
            invoice_name: '',//购方姓名
            invoice_number: '',//购方税号
            electronic_email: '',//电子发票收件人邮箱
            electronic_mobile: '',// 电子发票收件人手机号
            price: "",//单价

        }
    },
    created() {
        if (window.innerWidth > 450) {
            this.eqFlag = true
        }
        this.$i18n.locale = localStorage.getItem('langtype')
        this.lang = localStorage.getItem('langtype')

    },
    mounted() {
        window.scrollTo(0, 0)
        let datas = JSON.parse(localStorage.getItem("detailDetail"))
        // console.log("9999999999", datas)
        this.userarea = datas.userarea
        this.user_area_id = datas.user_area_id
        this.bazaar = datas.bazaar
        this.brand = datas.brand
        this.category = datas.category
        this.sonauthorizedbrand = datas.sonauthorizedbrand
        this.miniNum = datas.num
        this.product_id = datas.product_id
        this.price = datas.price
        // console.log('shouquanquyu', this.userarea)
        if (this.userarea == '中国大陆') {
            this.invoice_typeList = [this.$t('assemble.电子发票增值税专用发票'), this.$t('assemble.电子发票增值税普通发票')]
        } else {
            this.invoice_typeList = [this.$t('assemble.商业发票')]
        }
        if (localStorage.getItem('electronic_email')) {
            this.electronic_email = localStorage.getItem('electronic_email')
        }
        if (localStorage.getItem('electronic_mobile')) {
            this.electronic_mobile = localStorage.getItem('electronic_mobile')
        }
        this.getmanufacturerlist()
        this.handleAddressList()

    },
    methods: {

      

        //获取制造商列表
        async getmanufacturerlist() {
            let res = await getmanufacturerlist()
            if (res.code == 1) {
                // console.log("制造商列表", res)
                this.manufacturerlists = res.data
                res.data.forEach((item, index) => {
                    this.manufacturerlist.push(item.manufacturer_name)
                })
            }
            // if (res.code == 401) {
            //     this.$router.push({ path: '/login' })
            // }
        },
        onConfirmmanufacturer(value, index) {
            console.log("3333", value, index)
            this.manufacturerShow = false
            this.manufacturer_name = this.manufacturerlists[index].manufacturer_name
            this.manufacturer_site = this.manufacturerlists[index].manufacturer_site
            this.liaisons = this.manufacturerlists[index].liaisons
            this.manufacturer_mobile = this.manufacturerlists[index].manufacturer_mobile
            this.manufacturer_postcode = this.manufacturerlists[index].manufacturer_postcode
            // this.remark = item.remark
        },

        async handleAddressList() {
            let res = await getAdresslist()
            this.addressList = res.data
        },
        handleCurrIndex(index, id) {
            // console.log("index", index)
            this.currIndexaddress = index
            this.delivery = id
        },
        onConfirminvoice_type(value, index) {
            this.invoice_type = value
            this.invoice_typeShow = false
        },

        async handleSubmite() {
            if (this.manufacturer_name == '') {
                Toast(this.$t('assemble.请选择制造商名称'));
                return
            }
            if (this.delivery == '') {
                Toast(this.$t('assemble.请选择地址'));
                return
            }
            if (this.invoice_type == '') {
                Toast(this.$t('assemble.请选择开票类型'));
                return
            }
            if (this.invoice_name == '') {
                Toast(this.$t('assemble.请输入购方姓名'));
                return
            }
            if (this.electronic_email == '') {
                Toast(this.$t('assemble.请输入电子发票收件人邮箱'));
                return
            }
            // if (this.electronic_mobile == '') {
            //     Toast(this.$t('assemble.请输入电子发票收件人手机号'));
            //     return
            // }
            Toast({
                type: 'loading',
                title: this.$t('assemble.正在提交'),
                message: this.$t('assemble.正在提交'),
                iconUrl: 'https://cdn.uviewui.com/uview/demo/toast/loading.png'
            },);

            let data = {
                product_id: this.product_id,
                num: this.miniNum,
                bazaar: this.bazaar,
                category: this.category,
                brand: this.brand + "," + this.sonauthorizedbrand,
                user_area_id: this.userarea,
                remark: this.remark,
                delivery: this.delivery,
                invoice_type: this.invoice_type,
                invoice_name: this.invoice_name,
                invoice_number: this.invoice_number,
                liaisons: this.liaisons,
                manufacturer_name: this.manufacturer_name,
                manufacturer_site: this.manufacturer_site,
                manufacturer_mobile: this.manufacturer_mobile,
                manufacturer_postcode: this.manufacturer_postcode,
                electronic_mobile: this.electronic_mobile,
                electronic_email: this.electronic_email
            }
            // console.log("订单信息", data)
            let res = await createorder(data)
            if (res.code == 1) {
                this.$router.push({ path: '/pages/order/index' })
                localStorage.removeItem('detailDetail')
                localStorage.setItem("electronic_mobile", this.electronic_mobile)
                localStorage.setItem("electronic_email", this.electronic_email)
                localStorage.setItem("currIndex", 1)
            }
        },

        handleBack() {
            this.$router.back(1)
        },
        handleGotoaddress() {
            this.$router.push({ path: '/pages/mine/addressList' })

        },

    },

}
</script>

<style scoped lang="scss">
.colorcss {
    color: #000000
}

.color1 {
    color: #B1B1B1;
}

@media screen and (max-width: 750px) {
    .topBox {
        width: 100%;
        height: 44px;
        // padding: 10px 15px;
        padding-top: 10px;
        position: relative;
        font-family: PingFang SC, PingFang SC;
        font-weight: 600;
        font-size: 16px;
        color: #333333;
        line-height: 19px;
        text-align: left;
        font-style: normal;
        text-transform: none;

        .leftImg {
            width: 24px;
            height: 24px;
            position: absolute;
            top: 10px;
            left: 15px;
        }

        .title {
            width: 100%;
            text-align: center;

        }
    }

    .bannerImg {
        width: 100%;
    }

    .name {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 16px;
        color: #333333;
        line-height: 19px;
        text-align: justified;
        font-style: normal;
        text-transform: none;
    }

    .orderNum {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 16px;
        color: #333333;
        display: flex;
        justify-content: space-between;
        margin-top: 20px;

        .numIten {
            display: flex;
            flex-direction: column;
            align-items: center;

            .lable {
                color: #6d6c6c;
            }
        }
    }

    .heng {
        width: 345px;
        height: 1px;
        background-color: #EDEDED;
        margin: 20px auto;
    }

    .contentBox {
        .contentitem {
            width: 100%;
            padding: 0 15px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            margin-bottom: 10px;

            .lable {
                width: 98px;
                height: 12px;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 14px;
                color: #333333;
                line-height: 16px;
                text-align: right;
                font-style: normal;
                text-transform: none;
            }

            .value {
                margin-left: 20px;
                flex: 1;
                height: 42px;
                border-radius: 10px 10px 10px 10px;
                border: 1px solid #EDEDED;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 14px;
                color: #B1B1B1;
                line-height: 42px;
                text-align: left;
                font-style: normal;
                text-transform: none;
                padding-left: 10px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .bottomimg {
                    width: 20px;
                    height: 20px;
                }

                .inputitem {
                    display: inline-block;
                    height: 40px;
                    border-radius: 10px 10px 10px 10px;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 14px;
                    color: #B1B1B1;
                    line-height: 42px;
                    box-sizing: border-box;
                    outline: none;
                    border: none;

                }
            }

        }

    }

    .titleBox {
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 16px;
        color: #333333;
        line-height: 19px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
    }

    .addressList {
        margin-top: 20px;

        .listItem {
            width: 90%;
            // height: 126px;
            border-radius: 10px 10px 10px 10px;
            border: 1px solid #EDEDED;
            margin: 0 auto;
            padding: 15px;
            box-sizing: border-box;
            // display: flex;
            // flex-direction: column;
            // justify-content: space-between;
            margin-bottom: 20px;

            .company {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 14px;
                color: #333333;
                line-height: 16px;
                text-align: left;
                font-style: normal;
                text-transform: none;
            }

            .nameAndphone {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 14px;
                color: #818181;
                line-height: 16px;
                text-align: left;
                font-style: normal;
                text-transform: none;
                display: flex;

                .phone {
                    margin-left: 10px;
                }
            }

        }

        .listItemed {
            border: 1px solid #E00000 !important;
        }

    }

    .btns {
        width: 320px;
        height: 44px;
        background: #E00000;
        border-radius: 100px 100px 100px 100px;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 15px;
        color: #FFFFFF;
        line-height: 44px;
        text-align: center;
        font-style: normal;
        text-transform: none;
        margin: 50px auto;
    }


}

@media screen and (min-width: 751px) and (max-width: 1300px) {
    .topBox {
        width: 100%;
        height: 88px;
        // padding: 10px 15px;
        padding-top: 20px;
        position: relative;
        font-family: PingFang SC, PingFang SC;
        font-weight: 600;
        font-size: 25px;
        color: #333333;
        line-height: 19px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        display: flex;
        align-items: center;

        .leftImg {
            width: 48px;
            height: 48px;
            position: absolute;
            top: 40px;
            left: 30px;
        }

        .title {
            width: 100%;
            text-align: center;

        }
    }

    .bannerImg {
        width: 100%;
    }

    .name {
        width: 100%;
        padding: 0 60px;
        box-sizing: border-box;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 24px;
        color: #333333;
        line-height: 30px;
        text-align: justified;
        font-style: normal;
        text-transform: none;
    }

    .orderNum {
        width: 100%;
        padding: 0 60px;
        box-sizing: border-box;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 24px;
        color: #333333;
        display: flex;
        justify-content: space-between;
        margin-top: 40px;

        .numIten {
            display: flex;
            flex-direction: column;
            align-items: center;

            .lable {
                color: #6d6c6c;
            }
        }
    }

    .heng {
        width: 80%;
        height: 2px;
        background-color: #EDEDED;
        margin: 40px auto;
    }

    .contentBox {
        .contentitem {
            width: 100%;
            padding: 0 60px;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            margin-bottom: 30px;

            .lable {
                width: 200px;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 24px;
                color: #333333;
                line-height: 30px;
                text-align: right;
                font-style: normal;
                text-transform: none;
            }

            .value {
                margin-left: 40px;
                flex: 1;
                height: 84px;
                border-radius: 10px 10px 10px 10px;
                border: 2px solid #EDEDED;
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 20px;
                color: #B1B1B1;
                line-height: 42px;
                text-align: left;
                font-style: normal;
                text-transform: none;
                padding-left: 10px;
                box-sizing: border-box;
                display: flex;
                align-items: center;
                justify-content: space-between;

                .bottomimg {
                    width: 40px;
                    height: 40px;
                }

                .inputitem {
                    width: 100%;
                    display: inline-block;
                    height: 80px;
                    border-radius: 10px 10px 10px 10px;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 20px;
                    color: #B1B1B1;
                    line-height: 84px;
                    box-sizing: border-box;
                    outline: none;
                    border: none;

                }
            }
        }

    }

    .titleBox {
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 24px;
        color: #333333;
        line-height: 30px;
        text-align: left;
        font-style: normal;
        text-transform: none;
        width: 100%;
        padding: 0 60px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
    }


    .addressList {
        margin-top: 20px;

        .listItemed {
            border: 2px solid #E00000 !important;
        }

        .listItem {
            width: 90%;
            // height: 126px;
            border-radius: 10px 10px 10px 10px;
            border: 2px solid #EDEDED;
            margin: 0 auto;
            padding: 30px;
            box-sizing: border-box;
            // display: flex;
            // flex-direction: column;
            // justify-content: space-between;
            margin-bottom: 20px;

            .company {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 22px;
                color: #333333;
                line-height: 16px;
                text-align: left;
                font-style: normal;
                text-transform: none;
            }

            .nameAndphone {
                font-family: PingFang SC, PingFang SC;
                font-weight: 400;
                font-size: 18px;
                color: #818181;
                line-height: 16px;
                text-align: left;
                font-style: normal;
                text-transform: none;
                display: flex;
                margin: 10px 0;

                .phone {
                    margin-left: 10px;
                }
            }

            .heng {
                width: 100%;
                height: 1px;
                background-color: #EDEDED;
                margin: 20px auto;
            }

            .bottonBox {
                display: flex;
                justify-content: space-between;
                align-items: center;

                .bottom_left {
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 20px;
                    color: #B1B1B1;
                    line-height: 14px;
                    text-align: left;
                    font-style: normal;
                    display: flex;
                    align-items: center;

                    .statusimg {
                        width: 30px;
                        height: 30px;
                    }
                }

                .bottom_right {
                    display: flex;
                    align-items: center;
                    font-family: PingFang SC, PingFang SC;
                    font-weight: 400;
                    font-size: 20px;
                    color: #E00000;
                    line-height: 14px;
                    text-align: left;
                    font-style: normal;
                    text-transform: none;

                    .shu {
                        width: 2px;
                        height: 24px;
                        background-color: #B1B1B1;
                        margin: 0 40px;
                    }
                }
            }
        }
    }

    .btns {
        width: 80%;
        height: 88px;
        background: #E00000;
        border-radius: 100px 100px 100px 100px;
        font-family: PingFang SC, PingFang SC;
        font-weight: 500;
        font-size: 24px;
        color: #FFFFFF;
        line-height: 88px;
        text-align: center;
        font-style: normal;
        text-transform: none;
        margin: 60px auto;
    }

}
</style>